package demo1;

class A{
    public int a;
    public int b;

}

class B extends A{
    public int c;
    protected static int k=5;
    public void test1(){
        super.a=1;
        super.b=2;
        c=3;
    }
}
public class javaTest {
    public javaTest(){

    }
    protected void fun(){
        System.out.println("demo1包中的fun方法");
    }
    public static void main(String[] args) {
        B b1=new B();
        System.out.println(B.k);
    }
}
